<?php

namespace IDock\Printer\NonCar;

use IDock\Printer\BasePrinter;

/**
 * 非车产品列表
 */
class NonCarProductListPrinter extends BasePrinter
{
    public $productList = [];

    public function toArray(): array
    {
        return $this->productList;
    }

    public function productListAppend(NonCarProductPrinter $nonCarProductPrinter)
    {
        $this->productList[] = $nonCarProductPrinter->toArray();
    }
}
